Audit this Go codebase and aggressively simplify AI-generated, defensive, overly abstract, or unnecessarily generic code.
The goal is to make the code look like it was written by an experienced Go engineer:
- simple
- explicit
- strongly typed
- boring
Audit this Go codebase and aggressively simplify AI-generated, defensive, overly abstract, or unnecessarily generic code.
The goal is to make the code look like it was written by an experienced Go engineer:
A practical guide to finding which modules of a trained LoRA cause a specific defect (blurry skin, lost identity, ignored pose) and to fixing it without retraining.
Everything here is post-hoc weight surgery: you take a .safetensors you already trained,
produce variants with some module groups zeroed or scaled, generate with each under a fixed
seed, and measure. No GPU training, minutes per iteration.
Worked examples at the end come from two real LoRAs on Qwen-Image-2.1 (a head swap and a
| # Terminal color definitions | |
| class fg: | |
| BLACK = '\033[30m' | |
| RED = '\033[31m' | |
| GREEN = '\033[32m' | |
| YELLOW = '\033[33m' | |
| BLUE = '\033[34m' | |
| MAGENTA = '\033[35m' | |
| CYAN = '\033[36m' |
| /*** | |
| * Clash Verge Rev 全局扩展脚本(懒人配置)/ Mihomo Party 覆写脚本 | |
| * URL: https://gist.github.com/dahaha-365/0b8beb613f8d1ee656fe1f21e1a07959 | |
| */ | |
| /** | |
| * 整个脚本的总开关,在Mihomo Party使用的话,请保持为true | |
| * true = 启用 | |
| * false = 禁用 | |
| */ |
| @echo off | |
| chcp 65001 >nul | |
| echo Forcefully terminating Windows Explorer... | |
| rem Closes Windows Explorer to prevent interference | |
| taskkill /f /im explorer.exe | |
| echo Deleting all thumbnail cache files... | |
| rem Removes cached thumbnail images to free up space | |
| del /f /s /q /a %LocalAppData%\Microsoft\Windows\Explorer\thumbcache_*.db |
A pattern for building personal knowledge bases using LLMs.
This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.
Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.
| // ==UserScript== | |
| // @name Codechef IO Copy | |
| // @namespace http://tampermonkey.net/ | |
| // @version 0.1 | |
| // @description try to take over the world! | |
| // @author nikhilksingh97 | |
| // @match https://www.codechef.com/problems/* | |
| // @grant none | |
| // ==/UserScript== |
This is a mini-tutorial of sorts for getting started with gdb on the Switch, with the target audience being people who want to mod and/or reverse games, with no prerequisite knowledge of gdb. The goal will be to walk you through some of the basic workflows needed to use a debugger on the Switch, while being brief enough for skimming for when you forget things.
If some part is unclear, your OS doesn't have install instructions, or you feel part of your workflow should be added here, feel free to comment any additions.
(If you only need a quick reference Jump to the Appendix)
First off you'll need a version of GDB compatible with aarch64. This can be obtained via either a distribution of
Cloud Gaming is a great way to enjoy graphically demanding games on Apple Vision Pro.
Since Safari on visionOS does not support PWA mode, here is how you can access cloud gaming services on Apple Vision Pro.